package org.ttitfly.ttcore.vo;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;

import org.ttitfly.ttcore.util.annotation.PrimaryKey;

public abstract class AbstractVO implements Serializable {

    @PrimaryKey
    private Long id;

    private Set<String> operations;

    private Date createdTime;

    private Date updatedTime;

    private Long domainId;

    private String creatorName;

    private String updatorName;

    private String extCode;

    private String gecc;


    private long lockVersion;

    private String domainName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Set<String> getOperations() {
        return operations;
    }

    public void setOperations(Set<String> operations) {
        this.operations = operations;
    }

    protected String getTrimString(String inputData) {
        if (null != inputData) {
            inputData = inputData.trim();
        }
        return inputData;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Long getDomainId() {
        return domainId;
    }

    public void setDomainId(Long domainId) {
        this.domainId = domainId;
    }

    public String getCreatorName() {
        return creatorName;
    }

    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName;
    }

    public String getUpdatorName() {
        return updatorName;
    }

    public void setUpdatorName(String updatorName) {
        this.updatorName = updatorName;
    }

    public String getExtCode() {
        return extCode;
    }

    public void setExtCode(String extCode) {
        this.extCode = extCode;
    }

    public String getGecc() {
        return gecc;
    }

    public void setGecc(String gecc) {
        this.gecc = gecc;
    }


    public long getLockVersion() {
        return lockVersion;
    }

    public void setLockVersion(long lockVersion) {
        this.lockVersion = lockVersion;
    }

    public String getDomainName() {
        return domainName;
    }

    public void setDomainName(String domainName) {
        this.domainName = domainName;
    }

}
